package com.aiti.lulian.service;

import com.alibaba.fastjson.JSONObject;

/**
 * @ClassName ISmsCodeService
 * @Description
 * @Author diaozhende
 * @Date 2024/6/21 21:22
 */
public interface ISmsCodeService {

    /**
     * 校验验证码
     *
     * @param codeData 请求参数{code: "", phone: ""}
     * @return void
     * @date 2024/6/21 21:33
     * @author diaozhende
     */
    void verifyCode(String codeData);

    /**
     * 发送验证码
     * @param parameters 请求参数{phone: ""}
     * @return void
     * @date 2024/6/21 21:37
     * @author diaozhende
     */
    void sendCode(JSONObject parameters);
}
